package com.jcl.elasticsearch.core.thread;

import java.util.Date;

/**
 * @ClassName AsynThreadContext
 * @Description TODO
 * @Author yyliu
 * @Date 2018/11/13 17:45
 * @Version 1.0
 **/
public class AsynThreadContext {

    public static final int BATCH_SIZE = 100;
    public static final int SHEEP_TIME = 1000;

    private Date date;

    AsynThreadContext(){
        this.date = new Date();
    }
    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
